﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SignalShopBase;

namespace TestModule
{
    public class ClearHalfModule : SignalShopModule
    {
        public ClearHalfModule() : base(NAME, PATH) {}

        public override void Execute(Signal target, Signal source)
        {
            int N = target.N;

            for (int n = -N; n < 0; n++)
            {
                target[n].Set(0, 0);                
            }
        }

        private const string NAME = "ClearHalf";
        private const string PATH = "Transform/ClearHalf";
    }
}
